package org.quarenden.demo.sequence;

import org.springframework.stereotype.Service;

/**
 * @author liboyi
 */
public interface SequenceIdProvider {

    SequenceId create(String name);

    SequenceId create(String name, Integer begin);

    Integer load(String name);

    void store(Integer value,String name);
}
